projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e6eb02
)
Also fix some compiler warnings in xterm.c that didn't show up
author
Po Lu
<luangruo@yahoo.com>
Sun, 1 May 2022 01:44:46 +0000
(09:44 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 1 May 2022 01:45:20 +0000
(09:45 +0800)
* src/xterm.c (x_dnd_begin_drag_and_drop): Don't define unused
variable on GTK builds.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index bb50b35c2df8badaa54101bc70b894a2b99ca554..3dd8f320ba866cbb22eb7a43493e84cdef5e9e6c 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-9778,7
+9778,9
@@
x_dnd_begin_drag_and_drop (struct frame *f, Time time, Atom xaction,
#ifdef HAVE_XKB
XkbStateRec keyboard_state;
#endif
+#ifndef USE_GTK
struct x_display_info *event_display;
+#endif
if (!FRAME_VISIBLE_P (f))
{